/****************************************************************************
** Meta object code from reading C++ file 'qwt_knob.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../qwt_knob.h"
#include <QtCore/qmetatype.h>

#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif


#include <memory>

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qwt_knob.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.5.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSQwtKnobENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSQwtKnobENDCLASS = QtMocHelpers::stringData(
    "QwtKnob",
    "knobWidth",
    "borderWidth",
    "totalAngle",
    "symbol",
    "Symbol",
    "Line",
    "Dot"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSQwtKnobENDCLASS_t {
    uint offsetsAndSizes[16];
    char stringdata0[8];
    char stringdata1[10];
    char stringdata2[12];
    char stringdata3[11];
    char stringdata4[7];
    char stringdata5[7];
    char stringdata6[5];
    char stringdata7[4];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSQwtKnobENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSQwtKnobENDCLASS_t qt_meta_stringdata_CLASSQwtKnobENDCLASS = {
    {
        QT_MOC_LITERAL(0, 7),  // "QwtKnob"
        QT_MOC_LITERAL(8, 9),  // "knobWidth"
        QT_MOC_LITERAL(18, 11),  // "borderWidth"
        QT_MOC_LITERAL(30, 10),  // "totalAngle"
        QT_MOC_LITERAL(41, 6),  // "symbol"
        QT_MOC_LITERAL(48, 6),  // "Symbol"
        QT_MOC_LITERAL(55, 4),  // "Line"
        QT_MOC_LITERAL(60, 3)   // "Dot"
    },
    "QwtKnob",
    "knobWidth",
    "borderWidth",
    "totalAngle",
    "symbol",
    "Symbol",
    "Line",
    "Dot"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSQwtKnobENDCLASS[] = {

 // content:
      11,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       4,   14, // properties
       1,   34, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::Int, 0x00015103, uint(-1), 0,
       2, QMetaType::Int, 0x00015103, uint(-1), 0,
       3, QMetaType::Double, 0x00015103, uint(-1), 0,
       4, 0x80000000 | 5, 0x0001510b, uint(-1), 0,

 // enums: name, alias, flags, count, data
       5,    5, 0x0,    2,   39,

 // enum data: key, value
       6, uint(QwtKnob::Line),
       7, uint(QwtKnob::Dot),

       0        // eod
};

Q_CONSTINIT const QMetaObject QwtKnob::staticMetaObject = { {
    QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
    qt_meta_stringdata_CLASSQwtKnobENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSQwtKnobENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQwtKnobENDCLASS_t,
        // property 'knobWidth'
        QtPrivate::TypeAndForceComplete<int, std::true_type>,
        // property 'borderWidth'
        QtPrivate::TypeAndForceComplete<int, std::true_type>,
        // property 'totalAngle'
        QtPrivate::TypeAndForceComplete<double, std::true_type>,
        // property 'symbol'
        QtPrivate::TypeAndForceComplete<Symbol, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<QwtKnob, std::true_type>
    >,
    nullptr
} };

void QwtKnob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QwtKnob *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->knobWidth(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
        case 2: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
        case 3: *reinterpret_cast< Symbol*>(_v) = _t->symbol(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QwtKnob *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setKnobWidth(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
        case 3: _t->setSymbol(*reinterpret_cast< Symbol*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    } else if (_c == QMetaObject::BindableProperty) {
    }
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

const QMetaObject *QwtKnob::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QwtKnob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLASSQwtKnobENDCLASS.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QwtAbstractScale"))
        return static_cast< QwtAbstractScale*>(this);
    return QwtAbstractSlider::qt_metacast(_clname);
}

int QwtKnob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
